package org.apache.dolphinscheduler.api.service;

import org.apache.dolphinscheduler.api.page.PageQuery;
import org.apache.dolphinscheduler.api.page.TableDataInfo;
import org.apache.dolphinscheduler.dao.entity.Network;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 虚拟网络表 服务类
 * </p>
 *
 * @author denggh
 * @since 2023-02-08
 */
public interface NetworkService extends IService<Network> {

    TableDataInfo<Network> selectPageNetworkList(Network network, PageQuery pageQuery);

    Network selectNetworkById(Long networkId);

    int insertNetwork(Network network);

    int updateNetwork(Network network);

    int deleteNetworkById(Long networkId);
}
